@import '../scss/_var.scss';
@import '../scss/_mixin.scss';
.table {
  width: 100%;
  text-align: center;
  border: 1px solid #e0e0e0;
  background: #fff;
  font-size: 12px;
  caption {
    padding: 8px 0;
    color: #666;
    text-align: left;
  }
  th {
    font-size: 12px;
    height: 30px;
    // font-weight: 700;
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    background: #f0f0f0;
    color: #4A4A4A;
    &.active {
      background-color: #f5f5f5;
    }
    &.success {
      background-color: #dff0d8;
    }
  }
  td {
    // padding: 20px 0;
    color: #666;
    border-bottom: 1px solid #e0e0e0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    &.active {
      background-color: #f5f5f5;
    }
    &.success {
      background-color: #dff0d8;
    }
  }
}
.table-border {
  border: 1px solid #ddd;
  tr {
    th, td {
      border: 1px solid #ddd;
    }
  }
}
.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f9f9f9;
}
.table-hover > tbody > tr:hover {
  background-color: #f5f5f5;
}

.table {
  .list-hd {
    height: 50px;
    text-align: left;
    background: #f7f7f7;
    .fl {
      width: 50%;
      padding-left: 90px;
    }
    p {
      color: #f25f06;
      font-weight: 700;
    }
  }
  .list-bd {
    text-align: left;
    .fl {
      width: 50%;
      padding-left: 90px;
    }
    p {
      line-height: 30px;
      color: $color-gray;
    }
  }
  .goods {
    text-align: left;
    img {
      display: inline-block;
      margin-left: 20px;
      width: 80px;
      height: 80px;
      vertical-align: middle;
    }
    p {
      display: inline-block;
      margin-left: 10px;
      white-space: pre-wrap;
      vertical-align: middle;
      max-width: 47%;
    }
  }
  .time {
    p {
      line-height: 20px;
    }
  }
  .operate {
    button {
      display: block;
      margin: 0 auto;
      line-height: 34px;
      // color: $color-main;
      color: #73b1e0;
    }
  }
}